package com.xzh.springCloud.dao;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * @Author: zhiHong
 * @CreateTime: 2023-08-31 21:46
 * @Description:
 */
public interface StorageDao {

    /**
     * 扣除库存信息
     */
    void reduce(@Param(value = "productId") Long productId, @Param("amount") Integer amount);
}
